<?php
/**
 * Created by PhpStorm.
 * User: 小灰灰
 * Date: 2022-09-14
 * Time: 14:32:57
 * Info:
 */

namespace app;

class BaseController
{

    public function success($msg = 'ok', $data = [], $count = 0, $url = '', $wait = 3)
    {
        return success_json($msg, $data, $count, $url, $wait);
    }

    public function error($msg = 'error', $data = [], $url = '', $wait = 3)
    {
        return error_json($msg, $data, $url, $wait);
    }

}
